package com.topsun.framework.common.core.util;

import cn.hutool.core.convert.Convert;
import cn.hutool.core.util.StrUtil;

public class StringUtil extends StrUtil {


    public static final int[] EMPTY = new int[0];

    public static final Integer[] EMPTY_ = new Integer[0];

    public static float[] splitToFloat(CharSequence str, CharSequence separator) {
        return Convert.convert(float[].class, splitTrim(str, separator));
    }

    public static double[] splitToDouble(CharSequence str, CharSequence separator) {
        return Convert.convert(double[].class, splitTrim(str, separator));
    }

}
